Note 1: that most mods use tabs for indentation for some reason. If your IDE is configured to use spaces, you can make an exception for SCS files by enabling editorconfig support in IDEA and putting the editorconfig file into your mod folder, to avoid mixing tabs and spaces.
Note 2: it is impossible to define two kinds of line comments with these ad-hoc syntax settings. There are two archives, one that uses the more common # and one that uses //. Either supports block comments.
License: property is theft, intellectual property doubly so. This work is released into public domain. Specifically, you do not need to ask me for permission to update it, re-post an edit of it on SCS forums, etc.