I find that a mild but dismissive comment is helpful here--"Yes, he has his moments!" or "We're working on it," or something like that, followed by a change in topic. Acknowledge, be light, move on.