# stripCommentSyntax

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/openapi/doc-annotations.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/openapi/doc-annotations.ts#L103)

Strip the comment scaffolding and leave the author's text.

Line structure survives on purpose: descriptions may be markdown, and markdown's meaning
lives in its line breaks (lists, fences, paragraphs). Only the per-line comment furniture and
the common indent go; blank-line runs are capped at one so a docblock's padding does not
become a wall of vertical space.

## Signature

```ts
function stripCommentSyntax(raw: string, style: CommentStyle): string
```

## Parameters

| Name | Type |
|---|---|
| `raw` | `string` |
| `style` | `CommentStyle` |

**Returns:** `string`
