---
title: Comment
framework: DocC
role: symbol
role_heading: Directive
platforms: [swift-docc 5.5+]
path: docc/comment
---

# Comment

Captures a writer comment that’s not visible in the rendered documentation.

## Declaration

```swift
@Comment {
    ...
}
```

## Overview

Overview Use a comment directive to include author notes, like reminders to add more content, in your reference documentation or tutorial. DocC ignores comments when your documentation builds, and they don’t appear in the rendered content. @Comment {     Add lots more photos of sloths here! }
