As you get more experience, you'll develop your own way to deal with these morons. Eventually, your attitude and responses will be a projection of your own personality.
Some officials just totally ignore these actions and just walk out without even acknowledging the comments, while others (like me) take great pleasure in giving back even more than we get, mostly in a sarcastic, and possibly even confrontational, manner. I'm not recommending you do that at all, but I am saying that how officials respond includes a very wide variety of actions. There's no one answer that works for everyone.
If I had to guess, I would think that the majority of officials try to ignore those people as much as possible. Personally, I don't think that's any fun at all.