I try to treat all comments (not that there are many thesedays!) in like manner - with a smile and a pleasant, polite "Thank you" acknowledgement. If the comment was intended as a compliment, then the other party will be content with the response. If it was made with mischief or malice, the smile and acknowledgement utterly takes the wind from the other guy's sails because I've not risen to the bait.