Comments Removed Before Program Code Generation

This is most likely a rediculous question, but with Xojo, are all code comments removed before program code generation? Am I safe to heavily comment my obfuscation and encryption methods?


Yes, all comments are removed.

I had asked my self that last night; so for me it’s a good question and answer.


I believe most languages have done that for awhile now. I know VB did that as well. Commenting is always a good thing. :slight_smile:

It would depend on how the language is compiled. For example, when you post a JavaScript document to your web server the comments will remain.

That’s because JavaScript is a script, and doesn’t compile.

How about when you add a note?

That would also not be compiled because they are pretty much the same as comments, just organized differently.