It's fine to refute a claim with opposing facts or opinions. We agree it was a bad comment, and we would have had no problem with a response that kept within the guidelines.
But the guidelines are very clear about making swipes and posting in an inflammatory style. These are the guidelines are relevant here:
Edit out swipes.
Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.
When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."
Please don't fulminate. Please don't sneer, including at the rest of the community.
Please don't use Hacker News for political or ideological battle. It tramples curiosity.
https://news.ycombinator.com/newsguidelines.html