A supportive response could help him feel more comfortable sharing. You might say something like:
"I'm glad to hear you're getting better! If you ever feel like talking about it, I'm here. And thank you for saying that—you're smart too! Just remember, it's totally okay to have ups and downs. How can I support you right now?"
This encourages openness while reinforcing your support.