You may "comment" out certain lines by adding a // or # at the beginning of the line. The bot will not perform any goals or scripts written on a commented line.
This is a good way to remind yourself what a line is meant to do, eg:
// Tell my bot not to fire any hero I capture of lvl 100 or higher keepcapturedheroes any:level>=100 // Tell my bot to farm lvl 5 npcs config npc:5
It is also a good way to temporarily turn off a feature in your goals, eg:
// Disable the next line temporarily until I get around to porting my city... #keepresource AnotherTown w:20000000,i:20000000 5000000