The trick with online platforms is to edit messages, replacing the content with a random string (this script supports both ".", a random string or a fixed string of your choosing).
Most web apps will keep a copy of messages you delete, but they usually do not save an history of every modification.
Unfortunately most "web-scale" apps I've worked on are basically immutable (aside from retention policies). You just keep appending forever because updates are too expensive. So more than likely your comment history will exist on Reddit's servers but they use a clever "GROUP BY" semantic on read to only return the most recent version.