President Trump praised his disgraced former aide and accused wife-beater Rob Porter on Friday — and emphasized that the former staffer had denied domestic abuse allegations leveled by his two ex-wives.

Porter, Trump told reporters in the Oval Office, performed “very well” in the White House, working hand-in-hand with chief of staff John Kelly.

“As you probably know, he says he is innocent and you have to remember that. He said very strongly yesterday that he’s innocent,” Trump added in his first public statements on the scandal.

The commander-in-chief lamented that Porter was going through a “tough time,” and added that “we wish him well” in his comments.

“He worked very hard. We found out about it recently and I was surprised by it, but we certainly wish him well and it’s a tough time for him. He did a very good job when he was in the White House,” Trump said.

“And we hope he has a wonderful career and he will have a great career ahead of him. “

The president called the situation “sad” but made no mention of Porter’s alleged victims and did not condemn domestic violence.

“It was very sad when we heard about it and certainly he’s also very sad now,” he said.

Porter resigned under pressure Wednesday after the allegations — which top White House officials had known about for months — were made public, along with a photo showing his first wife with a black eye that she says she suffered during an assault by her then-hubby.

Kelly, Trump spokeswoman Sarah Huckabee Sanders and communications director Hope Hicks, Porter’s latest paramour, all initially defended and praised Porter before facing a public backlash.

And it’s not the first time Trump has placed more weight on denials than allegations of sexual misconduct or assault.

He backed Bible-thumping nutjob Roy Moore in an Alabama Senate election despite allegations from a number of women who claimed Moore had assaulted or otherwise creeped them out — including two who were teens at the time while Moore was in his 30s.

Trump defended his endorsement, saying that Moore “very strongly” denied the lurid charges against him.

And Trump himself has denied accusations from more than a dozen women who said he sexually assaulted or abused them — calling them all liars — despite being caught on the infamous “Access Hollywood” tape bragging about forcibly kissing and sexually assaulting women.