Aaron Carter is in Michael Jackson's camp amid the ongoing controversy swirling around the HBO documentary Leaving Neverland, which presents the accounts of two men who say the late King of Pop sexually molested them when they were children.

The 31-year-old singer, who was friends with Jackson, told TMZ on Monday that he was upset with both the way Jackson was depicted in Leaving Neverland, as well as a hoax social media exchange that implied he had knowledge of Jackson's alleged misdeeds.

The Tampa, Florida native told the outlet that he feels that the accusers, Wade Robson and James Safechuck, are financially motivated in speaking out against the Beat It singer nearly 10 years after his death.

Scroll below for video

Complicated legacy: Jackson was snapped in the U.K. in 2002

The Sooner or Later singer, who says he 'really idolized Michael,' questioned the timing of the claims made by Robson and Safechuck, adding that both had previously testified on his behalf in legal proceedings.

'You're a grown man, and when Michael Jackson was alive, you are backing him, you are up his a**, you are kissing his a**, you are there to testify for him under oath, and then when he dies, you decide that's a good time to come out?

'No, what you're doing is, you're actually stomping on an icon and a legend's grave - you're stomping his grave.'

Carter said that the time for Robson and Safechuck to speak up should have been around the time of Jackson's 2005 trial on molestation allegations.

His view: Carter said that Jackson's accusers, Wade Robson (L) and James Safechuck (R), pictured with Leaving Neverland Dan Reed, are financially motivated in speaking out against the Beat It singer nearly 10 years after his death

Way back when: Carter cited his own personal experiences with the singer when he was 15 to back up his view that Jackson did not molest Robson and Safechuck when they were boys. Carter was snapped at a Jackson event in NYC on September 7, 2001

'Why not do it when he was alive?' he said. 'Why not do it when he was being accused of all of these molestation charges. Why not do it then and actually indict a perpetrator?'

Carter cited his own personal experiences with the singer when he was 15 to back up his view that Jackson did not molest Robson and Safechuck when they were boys.

'I remember having the time of my life with Michael, I was about 15 years old,' he said. I hung out with Michael Jackson, I stayed at his house, I stayed in his bedroom ... it's hard for me to understand that - how am I supposed to understand that when my own personal experience with him was gentle and beautiful and loving and embracing.'

The Saturday Night artist told the outlet Jackson gave him professional advice, and that they shared the same vocal coach in Seth Riggs.

Not happy: Carter mentioned a tweet that was purportedly sent from an account linked to Robson - the account has since been taken offline - that implicated Carter had knowledge about the situation he had not revealed

Timing is everything: Carter said that Jackson's accusers should have broken their silence on the matter around the time of his 2005 trial; he was pictured in a video statement to the court in January 2005

The I Want Candy singer also referenced a tweet that was sent from an account pretending to be Robson - his lawyer has denied it, and the account has since been taken offline - that implicated Carter had knowledge about the situation he had not revealed.

'He's trying to tie my name into this s***? I'm not that guy. I'm not the one. You lucky I got something to lose now, because I would punch you in your face - I would,' he said. 'And then maybe I'd ask you, "Are you telling the truth?" but I'd punch you in your face first.'

Robson's lawyer subsequently told TMZ Robson had nothing to do with the tweet, which was from a 'fake account;' and that he's been the victim of 'several fraudulent postings and hackings' in the wake of the documentary.

Carter in 2004 told People that he and Jackson had been friends since 2001, and that Jackson never behaved inappropriately with him: 'Nothing happened between me and Michael. We didn’t sleep in the same room, we didn’t share a bed. We have a normal friendship. There’s nothing sexual to it.'

Jackson died at the age of 50 in June of 2009 as result of a drug overdose.