This means you already know the post id (or some other identifier), and the comments’s id. It is an update operation on the post collection. For this you need to use arrayFilters option for an update method.
Here are some examples of updating a nested array based upon conditions: