It was just a compliment. If it made you uncomfortable, you could have simply set a boundary and asked him not to message you that way. Responding with abusive language and posting it publicly feels a bit unnecessary.
And what's wrong with those guys in comment section🤦🤦