I found the solution thanks to comment from lorem ipsum:
if(comment.id.wrappedValue == mainCommentId){