One of the most important aspects of closing a question is that it prevents answers being added. You can certainly say that "this question should be closed" and "this question should not be answered" are equivalent statements. In the old NARQ case, the question also could not be definitively answered, that's what NARQ meant - not answerable. Eg "Why is there a car outside my house?" or "which is better, dark or milk chocolate?"
If you're asking "should I answer a question that I think should be closed?" it's a tautology to say no, you shouldn't. Similarly, "should a person answer a question that same person thinks should be closed?" is a clear no. However, "should a person answer a question I think should be closed" is a horse of a different colour.
If you think a question needs to be closed, flag or vote to close. If you think an edit would improve the question, edit it. If you think a comment might move the asker to improve the question, leave a comment. If you think the question shouldn't be answered, don't answer it. Some people might join you in any of those actions. Others, for various reasons, might not. They might even go so far as to answer. That happens. Don't use up your energy worrying about that choice.
If you think the answer depends on an assumption that is not supported in the question, go ahead and comment on the answer, eg "that might work with Clang but what if the asker is using Visual Studio?" or a similar comment to indicate the answerer has made an assumption. Do not downvote a useful answer, or leave a snarky comment, when your only motivation is "we don't want to reward crappy questions by helping the people who ask them." That doesn't make the internet better. Go ahead and focus on improving the question. That does make the internet better.
One final trick: when a horrible question is nonetheless left open and psychically answered by someone who managed to figure out what was being asked, and the asker either accepts or otherwise indicates (comments, edits to question etc) that the answer is right, you can edit the question to match the answer, and leave a good answer/question pair for posterity.