It was, you might remember, a callback to Mr. Spicer’s statement that Mr. Trump’s inauguration featured “the largest audience to ever witness an inauguration,” a claim easily disproved by photos.

Mr. Spicer, who famously sparred with journalists from the White House press room, resigned as press secretary in July. He had stayed out of the public spotlight since then, but then he appeared on Jimmy Kimmel last week. He largely stood by President Trump during that appearance and said he thought Ms. McCarthy’s impression of him was “kind of funny.”

On Twitter, some viewers were not interested in laughing along with Mr. Spicer.