Most functions of Surge are controlled by the configuration file. Surge iOS and Surge Mac can share configuration files via iCloud Drive. You may edit the configuration file with your text editor, Surge iOS app, or Surge Dashboard.
Surge configuration file supports comment line, starts with '#', ';' and '//'. Comment inline will also be supported with separation of '//'. The comments for rules and hosts will be kept if editing the configuration with GUI, and the other comments will be deleted after saving.