// 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, Fortran, Ada, 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, Eiffel, Cap'n Proto, PEG.js, MUMPS, MoonScript, Wa-lang, NetLogo, API Blueprint, DOT, Koka, Zephir, Vala, Lex, Jsonnet, Logo, Frege, VBScript, M4, Pig Latin, carp, Dafny, Batchfile, Bicep, PL/SQL, Nginx, QML, Nearley, Terra, GNU Octave, Eve, Halide, CIR, Futhark, MIPS architecture, Agda, Processing, mlir, SPARQL, Taichi, VBA, AMPL, Emacs Lisp, POV-Ray SDL, Hjson, Hack, unison, GAP, Lil, YASnippet, mgmt, Expect, Applescript, Ceylon, SystemVerilog, Ron, QBasic, NumPy, x86 Assembly, progsbase, Cue, Cryptol, PowerBuilder, ECL, HLSL, Click, Scilab, idyll, GLSL, WDL, TLA+, Slope, K, JAI, AutoIt, Observable, Clean, eC, Simula, wisp, Golo, Nemerle, Transact-SQL, Felix, datascript, CWL, Bison, Scroll, AGC, Ring, Sage, Boo, nomnoml, Mercury, Logica, BCPL, Datalog, CIL, AspectJ, SuperCollider, Mu, Dylan, Xojo, SCSS, SugarSS, REBOL, Flow9, X10, Raku, ArkScript, Wax, Oz, JCL, Nit, Gosu, xBase, mun-lang, Modelica, Shen, Veryl, ATS, NewLisp, Cyber, LiveScript, Fancy, CLIPS, LFE, Io, SourcePawn, Fantom, NCAR Command Language, NSIS, Pike, PAWN, PL/pgSQL, Filebench WML, OpenSCAD, Argdown, Dockerfile, Icon, Reia, BlitzMax, Turing, Whiley, Lasso, LilyPond, Nix, Csound, Objective C++, clay, P4, E, PureBasic, Java Properties, FoxPRO, JSON with Comments, lispyscript, Praat Script, LiveCode, Euphoria, IGOR Pro, Cg, Angelscript, Clipper, dlvm, Logos, Gherkin, GDScript, Ch, JADE, Monkey, Guile, SNOBOL, spry, neut, BlitzBasic, Objective-J, Croc, Harbour, Classroom Object Oriented Language, Spatial, JSLT, Volt, Ragel, Concise Encoding, Ligo, Alloy, dex, CIL, Pan, Apex, Ren'Py, DAX, MQL5, Mask, Jule, Cypher Query Language, Falcon, Vigil, Java Bytecode, Gettext Catalog, PicoLisp, OX, spiral, C shell, popr, 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, PIC, Gerbil Scheme, 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, Refal, PEG, SRecode Template, Type Language, Brightscript, Adventure Game Studio Script, Not eXactly C, Maya Embedded Language, KRL, GCC Machine Description, ShaderLab, tht, Project Mentat, Charity, BLISS, kai, Parser 3, Wart, Action!, Frink, QB64, HXML, Mouse, SAKO, silk, manool, Aldor, S-algol, Heron, Uniform eXchange Format, Recfiles, Aardvark, Yet Another Scripting Language, KiXtart, JS++, OpenVera, Alpine Abuild, XBase++, 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, PROMAL, FutureBASIC, SIL, PowerQuery M, OEM, VHDL-AMS, Q#, SimCode, Ion, Tuple space, Fable, BuddyScript, 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.