WASHINGTON – President Trump says he’d like to combat rude journalists during White House press conferences by refusing to show them on camera — or walking out of the room altogether.

“I think one of the things we’ll do is maybe turn the camera off that faces them because then they don’t have any air time,” the president told “Fox News Sunday” host Chris Wallace in an interview that aired Sunday.

“Although I’ll probably be sued for that,” the president said.

Trump said he also might leave if “somebody’s acting out of sorts.”

“I’ll say, ‘Thank you very much, everybody, I appreciate you coming,’ and I will leave,” Trump said. “And those reporters will not be too friendly to whoever it is that’s acting up.”

Wallace sat down with Trump on Friday night, after a judge who the president appointed ruled that the White House had to reinstate CNN reporter Jim Acosta’s press pass.

Acosta and Trump got into a public spat the day after the midterm elections earlier this month, when the CNN reporter pelted the president with questions about the migrant caravan and the Russia investigation. Trump called Acosta a “rude, terrible person” when the newsman kept asking questions and wouldn’t let go of the mic. The White House initially said it was suspending Acosta’s press pass for “placing his hands” on the young intern who was shuffling the microphone between reporters.

The president said the judge’s ruling was “not a big deal” and explained that the White House was creating rules of decorum for reporters to abide by.

“You know, you can’t keep asking questions, you have — we had a lot of reporters in that room, many, many reporters in that room, and they were unable to ask questions because this guy gets up and starts, you know, doing what he’s supposed to be doing for him and for CNN and, you know, just shouting out questions,” Trump complained.

Wallace asked Trump why he called on Acosta in the first place.

“Actually, I like to do it, but in many cases I don’t,” Trump said. “He’ll stand up, he’s unbelievably rude to Sarah Huckabee, who’s a wonderful woman. Unbelievably rude, and I see that, and I actually ask her the same: ‘Why do you call on these people that are so nasty?’ ”

During the interview, Wallace took issue with the president calling the media the “enemy of the people,” noting that “authoritarian countries like Russia, China, Venezuela, now repress the media using your words.”

The president argued there was a real difference between what he called “fake news” and negative coverage of his presidency. And he assured Wallace he wasn’t the problem.

Wallace replied, “When you call CNN and the New York Times and — We’re in solidarity, sir.”