I agree that the first and second comments are less than gentle; the third one perhaps is even border line rude. (Emphasis on borderline.)
But where you lose me is the second example. It comes across as polite and attempting to be helpful. It doesn't even look canned, as it mentionz explicit details about the post and asks specific questions to help the OP clarify. I cannot think of more helpful comment to a bad question.
If your threshold on "Welcome to SO, your question needs improvement" comments is so high that the second example is deemed problematic, then I think you really need to have a hard look at your expectations.
Need to fix this section after question edits.
As for comments that actually are terse and can be misinterpreted, we should do nothing. The reality is that SO requires something of a thick skin to be a member. That's somewhat unfortunate, but frankly, it's a life skill that's going to apply well outside of SO. If you can't put aside personal feelings most of the time and take a more objective approach, you're going to end up whining about how unfair and mean SO is instead of tapping into the knowledge and (quite charitable) help that users provide. Answerers expect a significant amount of effort to go into a question to make it high quality, and this is a fair expectation for the time they donate. It is not equally fair to expect every word they utter to be as cheery as possible, especially on questions that aren't very high quality.
No user is going to be perfectly giddy to all newcomers who haven't learned how to ask good questions yet. It's nice when it happens, but when we have to sift through as many poorly asked questions as we do, making it an expectation is unreasonable.
If it's blatantly rude or turns into an argument, flag it on those grounds. In other words, if it's a problem bigger than, "This isn't the most nice possible thing I've ever read," handle it as you normally would such a situation. If it's a single comment about, "Improve your question, and maybe this will help a little," leave it alone and move on. The harm done is minimal, and at least someone actually offered something for them to look at to improve.
If you feel strongly about welcoming new users properly, then demonstrate the behavior you'd like to see. Post a cheery comment on every low quality question you come across, and especially when another user posts one that doesn't meet your expectations. I suggest using your second example as a guide.