Secretary of State Mike Pompeo on Thursday denied being the senior administration official who penned the damning, anonymous op-ed in the New York Times about President Trump — calling it “sad.”

Speaking in Delhi, Pompeo said that if the column alleging that Trump’s own staffers view him as a danger to the nation is accurate, then its author was a disgruntled employee.

“It shouldn’t surprise anyone that the New York Times, a liberal newspaper that has attacked this administration relentlessly, chose to print such a piece,” the top diplomat said.

“If it’s accurate … they should not … have chosen to take a disgruntled, deceptive, bad actor’s word for anything and put it in their newspaper. It’s sad more than anything else,” he told reporters.

He added: “I come from a place where if you’re not in a position to execute the commander’s intent, you have a singular option — that is to leave. And this person instead, according to the New York Times, chose not only to stay but to undermine what President Trump and this administration are trying to do.

“And I have to tell you, I just, I find the media’s efforts in this regard to undermine this administration incredibly disturbing.”

The editorial — by a senior US official, according to the Times — said that Trump’s own staff see him as a danger to the country.

The official sounded an alarm about Trump’s “amorality” and “impetuous” leadership style — adding that the president’s aides are aware of his faults and “we are trying to do what’s right even when Donald Trump won’t.”

Trump has questioned whether the “gutless” piece — titled “I am part of the resistance inside the administration” — might be treasonous.

“Does the so-called ‘Senior Administration Official’ really exist, or is it just the Failing New York Times with another phony source? If the GUTLESS anonymous person does indeed exist, the Times must, for National Security purposes, turn him/her over to government at once!” Trump tweeted late Wednesday.

White House press secretary Sarah Huckabee Sanders said the author is a “coward” who should “do the right thing and resign.”

With Post wires