Simpler way: just turn off notifications. Look at it when you have time and you want to, not because your phone beeps.
Ideally notifications would only be used when your work colleagues or family members are trying to reach you, not for some random person's comment.