# Javascript: DocumentLoadSettings.loadEmbeddedComments Property

> Controls whether embedded document comments are loaded as viewer annotations. When disabled, comments remain rendered in the document but are not imported as editable annotations.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Path:** DS Server > Reference > JavaScript API - Document Viewer > Javascript: DocumentLoadSettings.loadEmbeddedComments Property
- **189 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/documentloadsettings/loadembeddedcomments-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/documentloadsettings/loadembeddedcomments-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/documentloadsettings/loadembeddedcomments-property/llms-full.txt

---

### Description

Controls whether embedded document comments are loaded as viewer annotations. When disabled, comments remain rendered in the document but are not imported as editable annotations.

### Syntax

```javascript
<boolean> DocumentLoadSettings.loadEmbeddedComments
```

### Examples

The following example demonstrates `documentloadsettings.loadEmbeddedComments` in a practical Document Viewer workflow. Specifies whether comments from the document should be loaded as annotations.

```javascript
const documentLoadSettings = {
    loadEmbeddedComments: true
};
console.log("load embedded comments:", documentLoadSettings.loadEmbeddedComments);
```

---

## Nearby

- **Previous:** [DocumentLoadSettings Class](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/documentloadsettings/llms-full.txt)
- **Next:** [Javascript: DocumentLoadSettings.pdfjs Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/documentloadsettings/pdfjs-property/llms-full.txt)
