I was the mod who handled the comment flag.
In hindsight, especially after seeing this meta post and the other answers, I probably should have deleted the comment. However, I do agree with Mark that the comment wasn't that unfriendly.
The issue with the borderline flags is that it totally depends on the moderator who is handling these flags. As you can see in this meta post itself, there seems to be a lot of debate on what seems to be unfriendly and what isn't.
I was handling around a bunch of comment flags on that day (June 23rd), when I saw that comment. Whenever I see a person other than the OP flagging a comment as unfriendly, I make sure that I open the post and see as to the context there, and the question did mention a "I know what this is, but I want to know what this other thing is", and the comment was "You know this right? You know some other thing right? Put them together", which certainly didn't seem unfriendly to me. I must admit that the fact about using "right?" seems to be condescending to others has left me confused, because I do use that a lot. I do feel (or atleast had the feeling) that adding a "right?" at the end is similar to asking for a confirmation from the other user. I would certainly love to hear more about this.
I am still not completely convinced that the comment was meant to be rude or discourteous. Anyway, the next time I see a "right?" at the end of a comment, I'll try to leave it to the other moderators who have a better grasp at English than me, or will try to learn the usage of "right?" before handling more flags.
Also regarding the comments that I've downvoted the users who opposed my handling, I can assure you that I've not done so.