Skip to main content
1 of 2
Scott Weldon
  • 10.2k
  • 1
  • 15
  • 14

There is no need to add another option to support this case, especially given the unclear distinction between whether or not the code snippet "solves the question".

To reiterate the guidelines laid out in the linked post: answers that consist of nothing but a code snippet should not be deleted. (But they should be edited, either by the author or by another user.) The auto comments being referred to here are only an option when selecting "Recommend Deletion", so it doesn't makes sense to add a comment that applies to answers that shouldn't be deleted.

If you want to have the ability to insert such an auto comment (without recommending deletion), I recommend installing the Auto Review Comments GreaseMonkey script, and updating the config with an auto comment such as this one:

While this code snippet may solve the problem, it doesn't explain why
or how it answers the question.  Please [include an explanation for your
code](//meta.stackexchange.com/q/114762/269535), as that really helps to
improve the quality of your post.  Remember that you are answering the
question for readers in the future, and those people might not know the
reasons for your code suggestion.  **Flaggers / reviewers:** [For
code-only answers such as this one, downvote, don't
delete!](//meta.stackoverflow.com/a/260413/2747593)

(Line breaks added for readability.)

Scott Weldon
  • 10.2k
  • 1
  • 15
  • 14