WASHINGTON — President Trump’s personal lawyer Rudolph W. Giuliani was questioned this year in an inquiry into whether he was told about the F.B.I.’s reopening of the Hillary Clinton email investigation before it was disclosed to Congress and the public, he confirmed on Tuesday.

During an hourlong interview in Washington in February, Mr. Giuliani said, he told investigators for the Justice Department’s inspector general that he had not learned anything before the public did.

Mr. Giuliani, a Trump campaign supporter, made statements in late October 2016 on Fox News hinting that a surprise was coming about Mrs. Clinton before Election Day. The inspector general is examining leaks from the F.B.I. during the presidential campaign, including what prompted Mr. Giuliani’s statement, but he said it was about another subject entirely.

“I was talking about a possible speech Trump would give the Friday before the election on national television in which he would outline all the reasons that he should be elected and crooked Hillary should go to jail,” Mr. Giuliani said.