WASHINGTON — President Trump taunted Bill de Blasio in the Oval Office Friday, calling him a “part-time mayor” who could have worked harder.

During a state visit with Australian Prime Minister Scott Morrison, Trump didn’t pass up a chance to ding the New York City mayor for dropping his long-shot bid for the White House that morning.

“Too bad. He had tremendous potential. He only had one real asset. You know what it was? Height,” Trump said.

“Other than that, he had nothing going.”

The 6-foot-5 de Blasio announced on MSNBC’s “Morning Joe” that he was dropping out.

“I feel like I’ve contributed all I can to this primary campaign, and it’s clearly not my time,” de Blasio said.

Trump pounced with an 8:02 a.m. tweet mocking the “part-time mayor” who was polling at “zero.”

“NYC is devastated, he’s coming home!” Trump said.

De Blasio is the latest 2020 hopeful to drop out after failing to make the last debate and having no clear shot to get on the stage in October.

Previous dropouts include California Rep. Eric Swalwell, former Colorado Gov. John Hickenlooper, Washington Gov. Jay Inslee, Massachusetts Rep. Seth Moulton and New York Sen. Kirsten Gillibrand.