---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Add comments to code with Quick Actions

# Add comments to code with Quick Actions {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Add comments in the ServiceNow Otto for Code enabled script editor using quick actions.

## Before you begin

Role required: now.assist.creator

## Procedure

1. Navigate to any script editor enabled with ServiceNow Otto for Code and select a script.
2. In the script editor, select a code and then select the Quick Actions button.
3. Select Add comments in code.  
   The comments appear highlighted in the script editor.
4. Review the AI-generated comments and then either accept or reject the comments.  
   If you accept the comments, they're added to the script.
5. After accepting the comments, select Update to save your changes.

