wsoditus,
Am I understanding you correctly (just skimming post) that now the comments are the correct format *but* they are added to too large of a scope? For example, the entire <%%> block is commented out, instead of just a single line inside it?
I would point out for *block* comment this is working correctly, but for “toggle comment” it is not… it’s adding SSC inside the <%%> and shouldn’t be, it should be using /**/ as you stated.