# Javascript: CommentCallbackData.comment Property

> The added comment. Is null if no comment could be added.

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

---

### Description

The added comment. Is null if no comment could be added.

### Syntax

```javascript
<CommentedText> CommentCallbackData.comment
```

### Examples

The following example demonstrates `CommentCallbackData.comment` in a practical document-editing workflow. The added comment. Is null if no comment could be added.

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

---

## Nearby

- **Previous:** [Javascript: CommentCallbackData.addResult Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentcallbackdata/addresult-property/llms-full.txt)
- **Next:** [CommentCollection Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentcollection/llms-full.txt)
