House Speaker Paul Ryan scoffed Tuesday at the notion that President Trump would move to revoke the security clearances of top Obama-era officials.

Ryan was asked at Tuesday's House Republican Leadership News Conference whether doing so would be "dangerous."

"I think he's trolling people, honestly," he responded, adding that revoking clearances is within the scope of the executive branch.

White House Press Secretary Sarah Sanders announced Monday that Trump is looking into yanking clearances from a number of officials, including former CIA Director John Brennan and former Director of National Intelligence James Clapper.

Gutfeld: Media 'Confused' as Trump's Approval Rises Despite Putin Summit, Iran Tweet

Trump is also considering revoking the clearances for former National Security Adviser Susan Rice and former NSA Director Michael Hayden.

"I think some of these people have already lost their clearances," Ryan said Tuesday.

Sanders on Monday also named former FBI Director James Comey and former Deputy Director Andrew McCabe, who do not have clearances.

Ryan said the matter isn't in the House's purview.

"I think he's just trolling people," he repeated.

Watch the exchange above.

Huckabee: Who Knew You Could Leave the Gov't and 'Keep Your Hall Pass'?

Paul Says Trump Should Revoke Clearances of Ex-Obama Officials: Brennan 'Almost Cost the Life of a Double Agent'

Spicer: Trump 'Constantly Under Attack' From Media, But His Approval Goes Up