Comments are not intended to be permanent. They could be flagged as "no longer required" among other options and if they got enough flags they will be deleted.

If there is something that should be permanent add it to a question or answer. By permanent I mean that even if "comments" are lately removed, they will still available on the revision history even if the post is deleted as >10k rep users still could access them.

Comments doesn't have a revision history, <s>so there is no a regular way to recover them</s>. ♦ moderators could undelete comments but you should ask directly on the corresponding meta (in this case https://meta.stackoverflow.com) the guidelines to make an undelete comment request.

Related

- https://meta.stackexchange.com/q/187279/289691
- https://meta.stackexchange.com/q/196435/289691
- https://meta.stackexchange.com/q/269974/289691