in reply to
How to comment out lines in a text?
sed -e '/^MYTAG/,/);/s/^/#/' < input.txt > output.txt
Comment on
Re: How to comment out lines in a text?
Download
Code
In Section
Seekers of Perl Wisdom