# CommentPartNode

Represents a dynamic comment part.

## Signatures

```ts
export declare class CommentPartNode {
    readonly _tag: "comment-part";
    readonly index: number;
    constructor(index: number);
}
```

## Why

Dynamic comment output has an explicit escaped representation and direct
native Comment target.

## Ownership and lifetime

The AST owns only an index; the render Scope owns the updater.

## Constructor

Creates dynamic comment syntax.

## Property: _tag

Dynamic-comment discriminant.

## Property: _tag: Why

Selects a retained native Comment target for direct updates.

## Property: _tag: Ownership and lifetime

Immutable AST metadata.

## Property: index

Interpolation index driving the retained comment target.

## Property: index: Why

Locates the producer without structural reconciliation.

## Property: index: Ownership and lifetime

Immutable scalar metadata; the render Scope owns the producer.

## Examples

```ts
import { CommentPartNode } from "@typed/template/Template"

const part = new CommentPartNode(0)
```
