I also feel like this has been the norm of the internet for quite some time. But if you're noticing it more the past few months, it's important to figure out what changed. Did you start browsing a different part of the internet? Did something in particular happen to make you aware of hateful comments more often? Or maybe the particular sites you are visiting have become more toxic communities themselves?
It's unavoidable to come across negativity and meanness on the internet, but the websites you visit make a huge difference. Spend less time on the negative websites and more time on the positive ones. Even in places like Reddit, there are certain subreddits that tend to be filled with friendly, goodhearted people, and subreddits full of a lot of nasty users.