Hi Robert,
AFAIK you just plain can't do this. I seem to remember an explanation from quite a while ago; something about how transformations were supposed to work. Essentially they transform everything, and the 'default' behavior is to output any text. I think that the way the language works there's a catch-22 in that the syntax for a comment could be confused by the input stream, or something like that.
[This was quite a while ago, so I could have forgotten the details, or I could be just plain wrong.]
[So if anyone knows how to do this, please chime in soon. That way Robert can ignore the rest of this post, and I can update my recollection.]
All that said, there really should be some way to comment these things. Transformations can easily become long, and quite complex, particularly when EA is used for something more than 'simply' transforming source code elements.
I've not seen a feature request on this issue, at least not recently. Perhaps you'd like to start one.
If so, use the Feature Request link below the Support link near the bottom of any forum page. It is a good idea to quote the title of this thread and paste in the URL; doing so will help Sparx participate in this discussion, and to monitor how much interest is voiced by other users.
If you do make the request, please post back to this thread to tell us you've started the ball rolling. And if you hear back from Sparx, please let us know what they have to say.
HTH, David