Skip to content
Sinth
Docs GitHub Discord
  • Getting Started

    • Getting started
    • Project structure
    • Files, pages and components
  • Language

    • Comments
    • Page metadata
    • Variables and types
    • Expressions
    • Markup
    • Built-in elements
    • Attributes
    • Events
    • Binding forms
    • Conditionals
    • Loops
    • Functions
  • Components & Styling

    • Components
    • Slots
    • Lifecycle and watchers
    • Styling
    • Script blocks
    • Imports
    • Shared state (stores)
    • The sinth:ui library
    • Custom elements
  • Performance & Security

    • Rendering model and performance
    • Security
  • Tooling

    • The CLI
    • Configuration
    • Dev server
    • Building and output
    • Deploying
    • Editor support
    • Programmatic API
  • Reference

    • Error reference
    • Migrating from Sinth 4
    • FAQ
  1. Docs
  2. /Language
  3. /Comments

Comments

Line and block comments.

-- line comment
--[
  block comment
  --[ block comments nest ]--
]--
// JavaScript-style line comments also work
/* and block comments */
← PreviousFiles, pages and componentsNext →Page metadata
NPMGitHubDiscordYannosay

© 2026 Yannosay Productions

Sinth is released under the AGPL-3.0 license.