Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: travelin cat
I know that sounds like a daft thing to do, but I have a website based on Dreamweaver templates and libraries, for which the amount of "bloat" with dozens of "<--InstanceBeginEditable"s is adding about 15% to my website size and monthly bandwidth cost.
IIRC, BBEdit tools only work on the active window. If you want to de-comment your whole site at once, you could put together a find/replace that uses regular expressions and runs against a directory.
A bit more set up, but much quicker for more than a handful of pages.
Do Apple-F, click "Use grep" to do the regular expression thing, and extend selection to match multiline comments.
Definitely back up your site first, though.
Also, if you don't want to spend money today, TextWrangler will do the same thing in the same way. It's a free product from the same company that makes BBEdit.
I have a website based on Dreamweaver templates and libraries
It adds a step, but if you have Dreamweaver and are using templates and libraries there is an option to publish a site with all the comments and other dreamweaver junk ripped out. Look for it here:
Modify Menu > Templates > Export without Markup...
Just make sure to export to a new folder and to backup before doing it. :)