Only the code within the square brackets get executed.
In this case the call to dom:: was causing an error, which is how I caught it.
And, no, there was no bracketing error. The latest version of nsxml wasn't working with our ns_xml calls which caused an invalid node to be returned and then passed to the dom:: proc INSIDE THE COMMENT triggering an error!