C# |
.cs |
Supports // and /* */ comments. |
defaultParser |
C++/C |
.cpp .c .h |
Supports // and /* */ comments. |
defaultParser |
CSS |
.css |
Supports /* */ comments. |
defaultParser |
CSon |
.cson |
Supports # comments. |
coffeeParser |
CakePHP views |
.ctp |
Supports // and /* */ comments. |
defaultParser |
Clojure |
.clj .cljs .cljc |
Supports ; comments. |
clojureParser |
Coffee-React |
.cjsx |
Supports # comments. |
coffeeParser |
Coffeescript |
.coffee |
Supports # comments. |
coffeeParser |
Crystal |
.cr |
Supports # comments. |
coffeeParser |
EJS |
.ejs |
Supports <!-- --> and <%# %> |
ejsParser |
Erb |
.erb |
Supports <!-- --> and <%# %> |
ejsParser |
Erlang |
.erl .hrl |
Supports % comments. |
erlangParser |
Elixir |
.ex .exs |
Supports # comments. |
coffeeParser |
F-Sharp |
.fs |
Supports // and (* *) comments. |
fsharpParser |
GDScript |
.gd |
Supports # comments. |
coffeeParser |
Go |
.go |
Supports // and /* */ comments. |
defaultParser |
HCL |
.tf .hcl |
Supports // /* */ and # comments. |
defaultParser & coffeeParser |
HTML |
.html .htm |
Supports <!-- --> |
twigParser |
Haml |
.haml |
Supports / -# <!-- --> and <%# %> |
twigParser |
Handlebars |
.hbs .handlebars |
Supports {{! }} and {{!-- --}} |
hbsParser |
Haskell |
.hs |
Supports -- |
haskellParser |
Hogan |
.hgn .hogan |
Supports {{! }} and {{!-- --}} |
hbsParser |
Jade |
.jade .pug |
Supports // and //- comments. |
jadeParser |
Java |
.java |
Supports // and /* */ comments |
defaultParser |
Javascript |
.js .es .es6 .cjs .mjs |
Supports // and /* */ comments |
defaultParser |
Jsx |
.jsx |
Supports //, /* */, {/* */} comments. |
defaultParser |
Julia |
.jl |
Supports """ and # comments. |
pythonParser |
Kotlin |
.kt |
Supports // and /* */ comments. |
defaultParser |
Latex |
.tex |
Supports \begin{comment} and % comments |
latexParser |
Less |
.less |
Supports // and /* */ comments. |
defaultParser |
Lua |
.lua |
Supports -- and --[[ ]] comments. |
haskellParser |
Markdown |
.markdown , .md |
Supports <!-- --> |
twigParser |
MDX |
.mdx |
Supports {/* */} comments. |
defaultParser |
Mustache |
.mustache |
Supports {{! }} and {{!-- --}} |
hbsParser |
Nunjucks |
.njk |
Supports {# #} and <!-- --> |
twigParser |
Objective-C |
.m |
Supports // and /* */ comments |
defaultParser |
Objective-C++ |
.mm |
Supports // and /* */ comments |
defaultParser |
PHP |
.php |
Supports // and /* */ comments. |
defaultParser |
Pascal |
.pas |
Supports // and { } comments. |
pascalParser |
Perl |
.pl , .pm |
Supports # comments. |
coffeeParser |
Protocol Buffer |
.proto |
Supports // and /* */ comments. |
defaultParser |
Python |
.py |
Supports """ and # comments. |
pythonParser |
R |
.R |
Supports # comments. |
coffeeParser |
Ruby |
.rb |
Supports # comments. |
coffeeParser |
Rust |
.rs |
Supports // and /* */ comments. |
defaultParser |
SQL |
.sql |
Supports -- and /* */ comments |
defaultParser & haskellParser |
Sass |
.sass .scss |
Supports // and /* */ comments. |
defaultParser |
Scala |
.scala |
Supports // and /* */ comments. |
defaultParser |
Shell |
.sh .zsh .bash |
Supports # comments. |
coffeeParser |
SilverStripe |
.ss |
Supports <%-- --%> comments. |
ssParser |
Stylus |
.styl |
Supports // and /* */ comments. |
defaultParser |
Svelte |
.svelte |
Supports // /* */ <!-- --> comments. |
twigParser |
Swift |
.swift |
Supports // and /* */ comments. |
defaultParser |
Twig |
.twig |
Supports {# #} and <!-- --> |
twigParser |
Typescript |
.ts .tsx .cts .mts |
Supports // and /* */ comments. |
defaultParser |
Vue |
.vue |
Supports // /* */ <!-- --> comments. |
twigParser |
Yaml |
.yaml .yml |
Supports # comments. |
coffeeParser |