File Type ID | File Extension | LineComment1 | LineComment2 | LineComment3 | AreaComment1 | AreaComment2 | AreaComment3 | AreaComment4 |
Java | .java | // | /*,*/ | |||||
Scala | .scala | same as "Java" | ||||||
C/C++/ObjC | .cpp,.cxx,.cc,.c,.m,.mm | same as "Java" | ||||||
h | .h,.hpp,.hxx | same as "Java" | ||||||
C# | .cs | same as "Java" | ||||||
JSP | .jsp | // | /*,*/ | <%--,--%> | <!--,--> | |||
PHP | .php,.php3 | // | /*,*/ | <!--,--> | ||||
ASP | .asp,.asa | ' | <!--,--> | |||||
HTML | .html,.htm | same as "XML" | ||||||
XHTML | .xhtml | same as "XML" | ||||||
js | .js | same as "Java" | ||||||
JSON | .json | same as "Java" | ||||||
VB | .bas,.frm,.cls | ' | REM | |||||
vbs | .vbs | same as "VB" | ||||||
VB.NET | .vb | same as "VB" | ||||||
Perl | .pl,.pm | # | =pod,=cut | |||||
Python | .py | refer to https://gi | ||||||
Ruby | .rb | # | =begin,=end | |||||
Shell | .sh | # | ||||||
Tcl | .tcl | same as "Shell" | ||||||
SQL | .sql | # | -- | REM | /*,*/ | |||
CFM | .cfm | <!--,--> | <!---,---> | |||||
Properties | .properties | same as "Shell" | ||||||
XML | .xml,.dicon | <!--,--> | ||||||
XSLT | .xsl | same as "XML" | ||||||
Xi | .xi | same as "XML" | ||||||
DTD | .dtd | same as "XML" | ||||||
TLD | .tld | same as "XML" | ||||||
XMLScheme | .xsd | same as "XML" | ||||||
BAT | .bat | REM | ||||||
CSS | .css | /*,*/ | ||||||
Lisp | .l,.el,.cl | ; | ||||||
Clojure | .clj | same as "Lisp" | ||||||
Scheme | .scm | same as "Lisp" | ||||||
Smalltalk | .st | \",\" | ||||||
velocity | .vm,.vsl | ## | ||||||
INI | .ini | ; | ||||||
Lua | .lua | -- | --[[,]] | --[===[,]===] | ||||
Haskell | .hs | -- | {-,-} | |||||
Fortran | .f,.for,.ftn | * | ||||||
Makefile | .f90,.f95 | ! | ||||||
as | .as | same as "Java" | ||||||
mxml | .mxml | same as "XML" | ||||||
JSPX | .jspx | // | /*,*/ | <%--,--%> | <!--,--> |