When you see a comment that's mean-spirited or an obvious attempt at a put-down masked as intellectual honesty, just don't respond.  

You're not obligated to deal with people's personal issues.  

They have their own battles to fight and don't need to involve you.