Fixes Bug 897. toggle now works correctly if there are comment lines in the xact