President Trump’s longtime pal Roger Stone invoked his Fifth Amendment rights and refused to share documents and testimony with members of the Senate Judiciary Committee, according to the committee’s top Democrat, Sen. Dianne Feinstein.

“Mr. Stone’s invocation of his Fifth Amendment privilege must be understood by all to be the assertion of a Constitutional right by an innocent citizen who denounces secrecy,” Stone’s attorney, Grant Smith, said in a letter to the committee dated Dec. 3, Politico reported.

Stone — who vowed he would never testify against Trump — is under the microscope in special counsel Robert Mueller’s investigation of Russian election meddling and possible collusion with the Trump campaign.

Mueller’s team wants to know whether Stone knew ahead of time that WikiLeaks was planning to dump thousands of emails hacked from Hillary Clinton’s campaign.

Stone, who denies that, didn’t immediately respond to a request for comment from The Post.

Trump has praised his longtime confidant, tweeting earlier this week that Stone showed “guts” for saying he would not testify against the president.