Wouldn't it be more polite
No, it would not. Adding superficial politeness does not make something more (or less) acceptable. I also need to mention that lacking superficial (aka insincere) politeness is not the same as being "unfriendly or unkind" and, especially, rude or condescending. Let's take a look at what the latter terms mean (using Cambridge dictionary as the source - here and here respectively):
behaviour that shows you think you are more important or more intelligent than other people
the quality of being offensive or not polite
The "post ... you have tried" phrase is a simple directive illocutionary act that is designed to compel the recipient to edit their post to include their attempt, nothing more. It does not attempt to convey intellectual superiority (the phrase does not contain any assessment of the recipient's competency, upbringing, etc) or offend the recipient (it is a simple directive). And, as mentioned earlier, lack of "polite" words does not automatically something less polite.
Should I have reported that comment?
Yes, you should have, however, as "No longer needed". Such comments are mostly noise if not accompanied with links to the Help Center and guidance on providing a Minimal Reproducible Example. We do not really need to see botched attempts of the poster trying to brute-force their way around the problem, we want them to help us help them.
There is even an automatic ban placed on posting "what have you tried" comments, but the check is very strict, so it allows variations to be posted (such as the one you noticed). If you want to get a larger picture behind this decision or the consensus on what to do with such comments, see the following famous MSE discussion: "What have you tried" epidemic.
Clarify meaning without changing it Add related resources or links Always respect the author’s intent
. I'd ask another question - "unnecessary link to the post; clearer title"?