# HtmlComment (@salmonui/rich-text)

> The HtmlComment interface of @salmonui/rich-text: A comment (&lt;!-- --> or a bogus comment such as &lt;![if ...]>).

Canonical: https://salmonui.dev/docs/reference/rich-text/HtmlComment

```ts
import type { HtmlComment } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: interface

```ts
interface HtmlComment {
    type: 'comment';
    value: string;
}
```

A comment (`<!-- -->` or a bogus comment such as `<![if ...]>`).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'comment';` |  |  |
| `value` | `value: string;` |  |  |
