Dear Robert,
First of all, thank you for your many comments in our forum. It's very exciting to see someone getting so much value from Dataverse.
As to your specific problem, I have researched it, and I can confirm that this issue only occurs with the single-line comment feature (i.e., the -- notation). Using the multi-line comment notation (/* and */) does not cause this problem.
I have made a note of this issue and passed it along to our Engineering team. Your ticket number is LAL-5952.
I hope that helps.
Rocco