Earlier this year I posted an answer to a question, saying that it's broken in a way that OP don't think, explaining it a bit, and then wrote a comment saying it's off-topic, and voted to close. Others voted to close too, and the question was closed. But the way that I handled that question irked me afterwards, in a way that I still vividly remember. I dismissed this, as it was just a one off thing.
Today another high ranking member done roughly the same. (They didn't comment or say what the answer was until I asked what the answer was, however.)
When I done this before, I decided to not do it again, as it blocks the question from being fixed and re-opened.
The first question probably needed a substantial re-write, but the second however just needs to add
if not nums: return False.
And that answer prevents the asker from just adding one or two lines to fix the question and make it on-topic, and OP now needs to ask a new question. (As fixing the question will invalidate the 'answer')
Should we allow such 'answers'?
If we do:
Should they follow a certain format? I.e need a comment, description or anything else.
If we do not:
How do should we handle such 'answers'?