I'm the moderator who deleted the comments in question and sent you the private message that you mentioned in the initial version of this post. I'll try to answer your questions here.
Big Picture
As I said in the message I sent:
This is just a friendly reminder . . . . If this is a simple misunderstanding, no harm done.
This is not a major situation, and the comments in question weren't huge problems. That's why I just deleted them and sent a reminder message (without issuing a suspension or anything like that).
The Comment You Were Addressing
As you wrote above, the comment that triggered all of this was a custom-close-vote comment. It has been deleted, but it said,
I'm voting to close this question as off-topic because this should be asked the vendor. SO is not Microsoft support.
This is not inherently rude. The second sentence is a little snarky, but the point is to express an opinion and give the (required) reason for the close vote. Whether the reasoning is correct is irrelevant; people can and do get these things wrong. I know I've done that from time to time.
In any case, the subsequent voting and other activity on that post make clear most users disagreed with the close vote. Generally, there's no need to address another user's close vote reasoning, even if it's wrong. This is especially true if it's clear that the close vote doesn't matter because most people disagree.
Your Comments
As you said, you had two comments. The first was,
@[username] Ideally the fact that you had to type up a custom close reason when you found that none of the predefined close reasons applied would have been a hint to you to check what is and is not topical here. This question is perfectly acceptable. It is well-known that Visual Studio is not stuck in 1998, so asking what's wrong when a program suggests otherwise is fine. If Visual Studio were stuck in 1998, then I might agree that a question on why it is would be better asked elsewhere.
I bolded the problematic language above. Frankly, it's snarky and condescending. It's certainly not constructive. It's also based on a false assumption that only the standard close-vote reasons are legitimate (or at least that exceptions are rare). But we allow custom close votes for a reason. We get wildly off-topic posts all the time that don't fit a standard close-vote reason; that's why the custom-reason option is here. Does it get misused? Sure. So do all of the others.
That first comment drew multiple "unwelcoming" flags, and I deleted it.
After your first comment, another user wrote,
@hvd: Non sequitur! Why do you think custom close reasons exist?
That also got flagged, and I deleted it.
You replied to that comment with this one:
@[username] They exist for when questions are off topic, but do not fit into any of the predefined reasons. They do not exist for when questions are on topic and therefore do not fit into any of the predefined reasons. When you want to use a custom close reason, please double-check which case you are dealing with.
That comment got flagged as "unfriendly or unkind." It was, frankly, kind of pedantic. When users simply disagree with each other about what is on-topic versus what is a question for a vendor, there's no need for a lecture about it. In any case, it was also obsolete after I deleted the comment you were addressing, so I deleted it as well.
For what it's worth, we (the ♦ moderators collectively) have also deleted some other comments on that post. The comments generally were getting a little out of hand.
Important point here: Your two comments were drawing flags, and they were both just a bit over the line in terms of the tone you used. That's why they got deleted. Neither one was terrible, and they ordinarily wouldn't result in a private message from the moderator team. We'd just delete them without contacting anyone, and everyone would move on.
Other Reasons I Sent a Message
The comments I've discussed were the immediate trigger for the message we sent, in that they are what brought you to our attention today. But, as I've explained in a private message, there are other, older comments that we also wanted to call to mind. I won't recap those here unless you ask me to do so because that conversation is confidential.
Conclusion
It's fine to disagree with another user's close-vote decisions, but we don't want Meta arguments to take off in the comments. The comments I deleted were heading that way, and the tone was off. Sometimes a comment isn't so bad, by itself, but experience tells me that the conversation is one reply away from jumping the rails, so it's better to go ahead and delete the entire back-and-forth. That's why I deleted the comments that looked like they were heading to a bad place.
This is not a big deal; please don't take it personally. We really do appreciate your contributions to the site, and our message was just a friendly reminder, nothing more.
"How to handle other users' rude behaviour [...]"
, along with the first quote, quoting a comment that should be rude, is what the word "premise" refers to. That's what a premise is. The question is because of that situation, the proposition of this whole post is that rude comment. Said comment not being rude, makes the premise fall. The idea that custom close reasons shouldn't be used is just further erring.