President Trump hinted early Sunday that he was rethinking his escalating trade war with China.

“Yeah, sure, why not,” Trump told reporters after being asked if he had “any second thoughts” about the tariff war that has raged between Beijing and Washington over the past few days.

“Might as well. Might as well. I have second thoughts about everything,” he said.

Trump made his comments as he headed off to breakfast with UK Prime Minister Boris Johnson at the start of the first full day of the G-7 Summit in France.

The president at first sounded belligerent when asked about China.

Asked by reporters if his allies at the summit were pressuring him to give up the trade war — Johnson in particular has voiced concerns that it could spark a global recession — Trump answered, “No, Not at all.”

He added of the other leaders, “I think they respect the trade war. China has been, I can only speak for the United States — I can’t say what they’ve been doing to the UK and to other places — but from the standpoint of the United States, what [China] has done is outrageous.

“Presidents and administrations allowed them to get away with taking hundreds of billions of dollars out every year and putting it into China. So the answer is nobody’s told me that. Nobody would tell me that.”

China, meanwhile, has sounded no conciliatory notes.

Beijing “will never waver in its stand on countering any provocations by the US side,” the ruling Communist Party’s People’s daily said in a commentary Sunday.