It was perhaps the single most bananas political moment of the Trump presidency.

Newly elected Democratic women in the House of Representatives, dressed all in white, stood up and cheered while the very president they entered politics to oppose and defeat looked on approvingly.

He had just cited a statistic that 58 percent of the new jobs in America had gone to women. They immediately applied this stat to themselves, and in an act of almost staggering solipsism, leapt to their feet and began to celebrate their own elections.

Then Trump advised them to stay standing because they were going to like the next sentence — a sentence about how there were more women in Congress than ever before. To which they and their fellow Democrats began chanting “USA! USA!” — in the middle of a Trump speech! And the president looked down upon these people for whom the word “impeachment” is a mantra … and smiled.

No one had that in the betting pool.

There’s been a lot of weirdness since 2016, but this meeting of the feminist minds brought us to new heights — or depths — of cognitive dissonance.

One can only ask: Are these the end times? Or are they the beginning of a beautiful friendship?

Probably neither.

No one remembers State of the Union addresses, but Trump did make a bid for immortality with an unprecedented passage in which he warned that Democratic investigations of his administration could destroy our economy.

“An economic miracle is taking place in the United States,” Trump said. “And the only thing that can stop it are foolish wars, politics or ridiculous partisan investigations. If there is going to be peace and legislation, there cannot be war and investigation.”

I don’t mean to be ghoulish here, but it is historically not true that war is bad for the economy. And congressional oversight of administration practices is a constitutional requirement.

Unquestionably, irresponsible Democratic Party behavior needs to be opposed, but a president standing in the Capitol saying congressmen will kill the golden goose by doing their jobs is nervy, even for Trump.

Here as elsewhere, Trump showed a certain mad brilliance in deploying his talent for Twitter-trolling to force Democrats into various uncomfortable positions.

For example, after talking about regime change in Venezuela, Trump promised socialism would never come to the United States. The TV cameras zoomed in on a clearly disgusted Bernie Sanders — while Speaker of the House Nancy Pelosi only managed a slight clap to applaud a sentiment any Democratic leader of the past hundred years would have felt it necessary to stand for.

State of the Union addresses don’t stick in the public consciousness, but making clear a discomfort with capitalism can’t help the Democrats.

He also established a really strange mood. He was conciliatory in one paragraph and hostile in the next and then conciliatory again. Democrats didn’t really know what to do with their anger and rage at him, and seemed to be looking to each other to make sure it was all right not to clap — and finding that, in fact, there were moments when they really just had to.

Meanwhile, Republicans were so intent on cheering every sentence that they even cheered lines you’re not supposed to cheer, like ones about people being murdered by gangs.

The speech went off in so many directions and the feeling in the chamber got so punch-drunk that by the time the first hour had come and gone, the House chamber was singing “Happy Birthday” to an 81-year-old Holocaust survivor.

Look. It was nice. No question. But it was still weird. Like the whole speech.

That said, in keeping the opposition party off-balance, Trump really did find a way to turn the political discussion in the country to his advantage for the first time since he announced he would take credit for the government shutdown.