To help handle the situation you have a few possible solutions:
-> Tell an adult
[] If it is getting majorly out of hand and nobody is doing anything, telling someone you trust who may be able to help is never "bad"
-> Tell the classmate to block / mute the people leaving rude comments
[] No need to listen to them, just force them to stop
-> Tell someone in charge at the school / teacher
[] Cyberbullying is becoming a real problem. It depends on the school, but they may do something about it
-> Report the comments to the social media platform
[] Many platforms, like Insta*gram for example, have ways to report comments and profiles to stop it altogether
[] Would any of this actually help in "the real world" to stop bullying? Hopefully.
Have a nice day!
I hope this is what you are looking for, but if not - comment! I will edit and update my answer accordingly. (ノ^∇^)
- Heather