@alchymyth I discovered the problem is related to WordPress formatting. I was trying to comment out a div with a p inside it, but apparently it automatically puts p around anything and everything indiscriminately. So, no go. I finally gave up on it and just saved the stuff to a txt file and deleted it from the post. I didn’t like doing that, but it was the best option for me.
@fishdogfish It doesn’t, because I am having the same problem and I just tried it.
I am looking for a solution to this because I do not want to remove the commented out code from my page because I plan to revisit it later and use it.
If anyone knows of a solution, besides a plugin, which I refuse to resort to using for 1 page, I would very much appreciate it.