I believe this mixes two separate issues:
- Closing a question and
- Answering a question
Separate but they are tied in a non trivial relation, as both are commanded by two imperatives:
- Questions that do not fit the site (*1) should be closed.
- Questions one knows an answer for should be answered.
The result is that both actions are equally appropriate and can apply to the same question. We need to keep the site sane and at the same time we should thrive to help everyone to get gather the knowledge he's seeking.
Writing an answer also not be substituted by a comment. Comments are by definition not meant for answers, as they do neither persist nor offer all tools needed.
Due the way SE operates additional implications are created - like not accepting answers after a question is closed. Which may need to be addressed. But pulling this on a personal level seems not proper:
This is of course not only inconsistent but also incredibly rude. When you close a question, your answer will remain but no one else can write answers. You are essentially saying that only you are allowed to answer this question, no one else.
RC.SE isn't personal. Neither Answering a question (*2), nor voting for closure is rude - and as well not the combination. It can't be as it's not personal in any way (*3)
Voting to close a question is not an act directed against anyone. Neither in general, nor specific. It's about the question being not suitable for the site. Similar is answering a question not about anyone, but sharing knowledge regarding the item in question.
A "conspiration" combining both to harm someone - someone unnamed and not even involved at that time - seems rather far fetched. Especially since closing a question is not a single handed act of a single person (*4). It needs five members (IIRC) to agree on closing to get a question closed.
Now, on the personal side, I'm as well one who happened to answer and vote for close on the same question. Simply due the fact as sown above: I do consider that question unfit, while at the same time able to provide information to the OP. So I'm as well tied in the middle of this. My way is to go along and try to follow both guidelines.
In fact, it happened more than once that I voted for closure and wrote some helpful information, just to have it rejected because the question has been closed in the meantime. Sometimes quite elaborate. But that's as it is. No need to complain.
*1 - There are other reasons, like poor quality, but they are a different area
*2 - Given, answers can be less than super polite, but that's a content feature, not a process item.
*3 - Nor should it ever be. Like or dislike of people, topics or ideas presented does not have any room on RC.SE. It is (and must be) strictly about the topics discussed.
*4 - Moderators except. That's also why they usually abstain from open/close votes, as that would overrule any community decision.