WASHINGTON — President Trump does not plan to invoke executive privilege to try to prevent James B. Comey, the former F.B.I. director, from providing potentially damaging testimony to Congress on statements the president made about an investigation into his former national security adviser, two senior administration officials said Friday.

Mr. Trump could still move to block the testimony next week, given his history of changing his mind at the last minute about major decisions. But legal experts have said that Mr. Trump has a weak case to invoke executive privilege because he has publicly addressed his conversations with Mr. Comey, and any such move could carry serious political risks.

One of the administration officials said Friday evening that Mr. Trump wanted Mr. Comey to testify because the president had nothing to hide and wanted Mr. Comey’s statements to be publicly aired. The officials spoke on the condition of anonymity because they did not want to be identified discussing a decision that had not been announced.

A White House spokesman did not respond to a message seeking comment. Earlier on Friday, the White House press secretary, Sean Spicer, would not say what Mr. Trump planned to do.