I flagged an answer to Accessing javascript variables across html files as "needs moderator attention" because it had a long comment thread, it doesn't actually solve the problem, and the correct answer was in the comment thread.
The flag was declined with the message "flags should only be used to make moderators aware of content that requires their intervention".
I realize that 'not an answer' flags should be used only if the answer doesn't attempt to answer the question (Why was this 'not an answer' flag declined?). But Flagging Help: Is it neccesary to flag comments that are 'chatty' but stick to the question? says I should flag the question for cleanup due to the comments.
What should I have done in this circumstance?