Thanks for the source code man.
EDIT: It was not a bad idea, but it doesn't seem very worth to use it, anyone can still just Right Click -> View-Source and then copy all and go to https://html-cleaner.com/ (Or just disable javascript from the website) and remove all comments