Michelle Obama made a subtle joke at a talk in Detroit about President Donald Trump's legal position.

Discussing the high standards she felt were required when the Obamas were in the White House, she said: "We can't make mistakes. We can't get indicted."

At the mention of indictment, Obama paused and the crowd laughed loudly.

Trump has been implicated in numerous felonies, though he has not been charged with any crimes and maintains his innocence.

Trump is almost certain to avoid indictment while in office, as per Department of Justice guidelines.

Michelle Obama this week took a subtle swipe at President Donald Trump and the possibility that he might be indicted.

Speaking in Detroit on Tuesday, the former first lady spoke about the scrutiny she and her family faced as a black family in the White House. "We can't make mistakes. We can't get indicted," the Detroit Free Press reported.

The crowd roared in approval, according to the newspaper and video footage of the event. Obama paused when she mentioned indictment, a break the crowd eagerly filled with laughter.

Read more: Michelle Obama says even she still sometimes feels like a fraud: 'It doesn't go away, that feeling that you shouldn't take me that seriously'

Obama said there was a double standard in how Trump and his family were treated compared to the way she, her husband, and their family were treated while in the White House.

"There is a difference in standards," she said. "We are seeing that right now. We live with double standards all the time."

Trump has been implicated in felonies by federal prosecutors, though he has not been charged with a crime and he maintains his innocence.

Read more: Trump has been implicated in several federal crimes, but here's why experts say he hasn't faced legal consequences

Most recently, American Media Inc., the parent company of the National Inquirer, on Wednesday joined Trump's former lawyer Michael Cohen in implicating Trump in campaign finance violations.

Though the US Constitution does not say whether a sitting president can be indicted, today's Department of Justice policy holds that the president cannot. Several legal experts have told Business Insider that policy is perhaps the only reason Trump has not been indicted.

On Wednesday, The New York Times published an opinion piece by a former Justice Department legal expert saying that Trump technically could be indicted but that it was unlikely to happen.

Former President Barack Obama has previously commented on the high number of people close to Trump who have been charged with crimes or investigated on suspicion of corrupt activity.

"Not only did I not get indicted, nobody in my administration got indicted," he said in a speech in November.

"By the way, it was the only administration in modern history that that can be said about. In fact, nobody came close to being indicted, probably because the people who joined us were there for the right reasons."