Keep your moral high ground, be the better person. Sometimes I'll snap back and make a point that I upvoted their comment to drive home being the better person, sometimes I just ignore them. If it's a pattern of behavior that someone is stalking you, just report them.