In most programming languages, this is possible. For example, in Python, I would write
And anything after # in that line is commented out, and anything before is executed. Is such a thing possible in Stata using * or an alternative?
x=1 #x is a good variable
Comment