Trying to diminish something said in earnest by later claiming it was a joke is definitely a technique that can be used to gaslight.
But right now we’re talking about a comedian who’s essentially recording himself performing. It’s quite obviously different.
It would be silly to assume a comedian is telling the truth during a performance, and absurd to claim said comedian is gaslighting when he later explains that he was joking.