// A comment
# A comment
-- A comment
% A comment
; A comment
MOVE ABC to XYZ *> This is a comment.
' A comment
C A comment
// This is a line comment in Gleam
-# A comment
⍝ A comment
NB. A comment
\* A comment
; I am a comment
/ A comment
! A comment
; a comment
-- Counts iterations.
__ A comment
// comment
--- A comment
~ A comment
K) A comment
#<A comment>
;; A comment
// The same as c
COMMENT A comment
DO END ! Do nothing
“”” A comment
Languages with Line Comments include JavaScript, C, Python, Java, Perl, Ruby, PHP, Go, TypeScript, SQL, C#, R, PowerShell, Bash, Rust, Swift, Scala, MATLAB, Lua, Kotlin, Haskell, Clojure, CoffeeScript, Elixir, Erlang, SAS, Prolog, Objective-C, Julia, Dart, COBOL, Solidity, Visual Basic, Racket, WebAssembly, Zig, Nim, YAML, Ada, Fortran, TOML, PostgreSQL, Crystal, MySQL, Reason, D, Elm, GraphQL, Haxe, Scheme, Chapel, awk, Pug, Groovy, Tex, F#, Gleam, LLVM IR, HCL, ClojureScript, PureScript, HAML, VHDL, Tcl, JSON5, Idris, Forth, Deno, Visual Basic .NET, Protocol Buffers, Ini, ARM, Rescript, Yacc, Make, APL, odin, Embedded Crystal, OpenCL, LaTeX, Red, J, fish, Maple, starlark, Lean, Flow, ANTLR, sed, V, KaTeX, Fennel, Dhall, Delphi, Stata, ABAP, Pandas, ActionScript, Verilog, Pony, Ballerina, PRQL, Hy, FLUX, Squirrel, BASIC, C3, AutoHotkey, Wren, PostScript, Less, Common Lisp, Smali, Cap'n Proto, Eiffel, PEG.js, MUMPS, MoonScript, API Blueprint, NetLogo, DOT, Koka, Zephir, Vala, Lex, Jsonnet, Frege, VBScript, Logo, Pig Latin, M4, carp, Dafny, Batchfile, Bicep, PL/SQL, Nginx, Nearley, QML, Terra, GNU Octave, Eve, Halide, CIR, Futhark, MIPS architecture, Agda, Processing, SPARQL, mlir, Taichi, VBA, AMPL, Emacs Lisp, POV-Ray SDL, Hack, Hjson, unison, GAP, Lil, YASnippet, mgmt, Expect, Applescript, Ceylon, SystemVerilog, QBasic, NumPy, x86 Assembly, progsbase, Cue, Ron, Cryptol, PowerBuilder, ECL, HLSL, Click, Scilab, idyll, WDL, GLSL, TLA+, Slope, K, JAI, AutoIt, Observable, Clean, eC, wisp, Simula, Golo, Transact-SQL, Felix, CWL, datascript, Bison, AGC, Ring, Nemerle, Sage, Boo, Scroll, nomnoml, Mercury, Logica, BCPL, Datalog, CIL, AspectJ, SuperCollider, Mu, Dylan, Xojo, SCSS, SugarSS, Flow9, REBOL, X10, ArkScript, Raku, Wax, Oz, JCL, Nit, Gosu, mun-lang, Modelica, xBase, Shen, Veryl, ATS, NewLisp, Cyber, Fancy, LiveScript, CLIPS, SourcePawn, LFE, Io, NCAR Command Language, Fantom, NSIS, Pike, PAWN, Filebench WML, OpenSCAD, PL/pgSQL, Argdown, Reia, Dockerfile, BlitzMax, Turing, Icon, Whiley, Lasso, LilyPond, Csound, Nix, clay, P4, Objective C++, E, PureBasic, Java Properties, FoxPRO, lispyscript, JSON with Comments, Euphoria, Praat Script, LiveCode, Cg, IGOR Pro, Angelscript, Clipper, dlvm, Logos, GDScript, Gherkin, Ch, JADE, Monkey, Guile, SNOBOL, spry, BlitzBasic, Objective-J, Croc, Classroom Object Oriented Language, Harbour, JSLT, Spatial, Volt, Ragel, Concise Encoding, Ligo, Alloy, dex, CIL, Pan, Apex, Ren'Py, neut, DAX, MQL5, Mask, Jule, Cypher Query Language, Falcon, Vigil, Gettext Catalog, Java Bytecode, PicoLisp, OX, spiral, popr, C shell, muPad, Seed7, Tea, HuJSON, OCL, Not Quite C, NestedText, Netwide Assembler, UNLAMBDA, Script.NET, Augmented Backus-Naur Form, Linden Scripting Language, Opal, High Level Assembly, Gentoo Ebuild, DM, Cwerg, Gerbil Scheme, PIC, LPC, NetLinx, Eclipse Command Language, FloScript, Jasmin, ldpl, Vale, RELAX NG, Game Maker Language, S-PLUS, BitBake, SETL, Z, HOPE, Sophia, Dc, Spin, Strips, BETA, Cycript, SMT, Structured Query Reporter, Unicon, Redcode, storyscript, Slice, Nymph, HiveQL, LoomScript, Cell, Sather, Hocon, MiniD, Rc, gentee, Sieve mail filtering language, Claro, CartoCSS, Ezhil, pointless, Savi, LookML, Grammatical Framework, PEG, Refal, SRecode Template, Type Language, Brightscript, Adventure Game Studio Script, Not eXactly C, Maya Embedded Language, KRL, GCC Machine Description, ShaderLab, tht, Project Mentat, Charity, kai, BLISS, Parser 3, Wart, Action!, Frink, QB64, HXML, Mouse, SAKO, silk, manool, Aldor, S-algol, Heron, Uniform eXchange Format, Recfiles, Yet Another Scripting Language, KiXtart, JS++, Alpine Abuild, OpenVera, XBase++, Aardvark, parasail, MVEL, PowerBASIC, Yoix, NS Basic, xxl, winxed, Mary, Quaint, neeilang, EuLisp, carth, Language Server Index Format, Easytrieve, Lite-C, Rita, taf, Bel, Judoscript, Fjölnir, owen-lang, Rust MIR, Crap, Boron, Pawn, Amazon Redshift, Xbasic, FutureBASIC, PROMAL, SIL, PowerQuery M, OEM, VHDL-AMS, Q#, SimCode, Ion, Tuple space, BuddyScript, Fable, True BASIC, blz, Ren, ISETL, omega, MACRO-10, Pnuts, hilvl, AmbientTalk, Action Code Script, z80, Atomese, beads-lang, fizz, flagship, Guix Workflow Language, ActiveVFP, JSL, Operational Control Language, CLOS, Boogie, epsilon, Lexon, Plot, PromQL, rosette-lang, Spice, Zimpl, holyc, boa, lain, stella, Sweet Expressions, T3X, verifpal, ThinBasic, FML, StarOffice Basic, Caché Basic, Bla, luau, OptimJ, Finite State Language, Module Management System, Soy, Parrot BASIC, XBLite, ca65 Assembly, GraphQL Schema Definition Language, Literate Agda, rbs, Reactive Plan Language, WxBasic, Robots.txt, StruQL, SubX, Yedalog, Turbo Basic, Treelang, ctalk-lang, dslx, LP Format, Portable Bit Map Format, Netpbm grayscale image format, ppm-format, PacmanConf, PkgConfig, USD, wescheme, CFScript, ddfql, turnstile, Creative Basic, tremor-query, Lighttpd configuration file, rbscript, sora, zephyr-asdl
Languages without Line Comments include HTML, CSS, XML, JSON, Mathematica, Markdown, Pascal, SPSS, OCaml, Smalltalk, SVG, Standard ML, XQuery, ML, Regular Expressions, Wolfram Language, Modula-2, Rexx, OWL, Modula-3, Object Pascal
View all concepts with or missing a hasLineComments measurement
Read more about Line Comments on the web: 1.