# Javascript: CommentedTextInfo.comment Property

> The comment text.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 30.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: CommentedTextInfo.comment Property
- **152 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/comment-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/comment-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/comment-property/llms-full.txt

---

### Description

The comment text.

### Syntax

```javascript
<String> CommentedTextInfo.comment
```

### Examples

The following example demonstrates `CommentedTextInfo.comment` in a practical document-editing workflow. The comment text.

```javascript
function inspectComment(commentedTextInfo) {
    const comment = commentedTextInfo.comment;
    console.log("comment:", comment);
}
```

---

## Nearby

- **Previous:** [Javascript: CommentedTextInfo.active Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/active-property/llms-full.txt)
- **Next:** [Javascript: CommentedTextInfo.creationTime Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/creationtime-property/llms-full.txt)
