Questions on Stack Overflow are not only for the person that posts it. You did not ask a question so that only you might get an answer as if this is a helpdesk, you essentially donated it to the knowledge base where it should now hopefully start to help many more people from now on. That is the goal of the site, to have answers readily available so you do not even have to ask.
Whatever is done with the question must be oriented from that perspective: how will it assist future visitors of the question who have the same or a very similar problem or requirement? An on-topic, non-duplicate question without an answer is not useful to anyone, so someone should provide an answer which is in compliance with the documented rules and guidelines about what makes an answer a valid high quality answer.
If it isn't the author of the comment that tipped you off who also authors the answer, it could just as easily be you yourself.
Comments do not count as answers, no matter how well they are written.