We all know that new users often ask dumb questions without reading. The answers to Should I be nice to new users? provide plenty of good reasons why we, as a community, should encourage new comers and guide them to the protocols for asking good questions. But we also need to acknowledge that it takes time to learn how to get the information you need.
My question is, what's the appropriate way to respond to a short blunt comment that is correct but really doesn't attempt to help them improve the question and could easily be read as 'you're not welcome'?
An example might OP asking a poorly worded question about how to correct a piece of code and a comment comes back 'learn to unit test and use a debugger'. There's nothing particularly rude about the comment but it's hardly welcoming.
Should we just ignore the comment and post our own more encouraging one (in other words, lead by example)? Should we also point the other commenter to information on how to encourage new users?