Edit the Question to include the comment, and then vote to reopen it.
Closed questions cannot and should not be answered at all. They have to be reopened to get an answer, and they can only be reopened if the Question content itself is an appropriate question. Comments don’t count. So edit the Question, and get it to a point where it should be opened, and then vote to reopen.
If you lack the privilege to vote to reopen, editing the Question will put it in the review queue, so people who do have that privilege will see it. Likewise, if you do vote to reopen, the Question goes in the review queue so the other four votes can be found.
If you lack the privilege to edit the Question, then you’ll only be able to suggest that edit. But that edit will go in its own review queue, to get that approved, and then once approved, the Question will go in the review queue for reopening.
Either way, it should be reopened quickly if, as you say, it is no longer a problem. Then you can answer it.
Do not open a chat room or answer in comments or otherwise work around the closing. Closed questions are closed for important reasons; they cannot receive answers because answering them (well) is impossible or inappropriate. As such, any workaround to communicate an answer to the asker is going to cause problems: if the question could be answered, it would be open (or in the process of being reopened).
Opening a chat room can be appropriate in cases where a question is simply never going to be reopened as it is too much of a discussion for Stack Overflow. Chat rooms are an appropriate place to have discussions, while questions are not. If the work to clarify and improve the Question so that it can be reopened is more involved and requires some back and forth, a chat room can also be great for that. But don’t use a chat room just to work around a Question closing—instead, work to get the Question reopened.
Comments are only for clarifying and improving the Question or Answer they’re attached to. Using them for any other purpose is terrible; please never do.