Skip to content
The Chat Archive
chatgpt-4o-latest-20250326· OpenAI LMArena Human Preference 140K

what does a markdown comment look like?

  1. User

    what does a markdown comment look like?

  2. Assistant

    In Markdown, comments are not part of the standard Markdown specification, but many Markdown processors (such as those used in Jekyll, GitHub, or Markdown engines with HTML support) allow you to use HTML-style comments.

    Markdown Comment Syntax (HTML-style):

    <!-- This is a comment in Markdown -->
    

    Example:

    # My Document
    
    <!-- This section is under construction. -->
    
    Here is some visible content.
    

    Notes:

    • These comments won’t be visible in the rendered output (e.g., on GitHub or in a web page).
    • They're useful for leaving notes to yourself or collaborators that won't appear in the final document.

    Let me know where you're using Markdown (like GitHub, Obsidian, a static site generator, etc.), and I can confirm if comments will work there!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.