PDF Editing Issues

How to Delete Hundreds of Comments in Adobe Acrobat Pro DC

Chanuka GeekiyanageChanuka Geekiyanage Nov 2, 2026 869 views

Question details

The user needs a way to bulk delete hundreds of resolved comments and annotations from a large shared PDF document.

How to Bulk Delete Hundreds of Comments in Acrobat Pro DC
Product
Adobe Acrobat Pro DC
Device & OS
not provided
Scenario
Attempting to clean up a large, heavily annotated PDF (such as those generated by AutoCAD or shared among many users) where the volume of comments exceeds normal UI handling limits.
Observed behavior
The standard Delete command is disabled or unresponsive when selecting multiple comments in the Comments panel, making manual deletion impossible.
Before you start

Always create a secure backup copy of your PDF file before running automated scripts, as executing batch deletion commands will permanently destroy annotations and cannot be undone.

Solution 1Recommended

Use Action Wizard and JavaScript for Bulk Deletion

When the Acrobat interface becomes unresponsive due to the comment limit, use a custom JavaScript command via the Action Wizard to forcefully iterate through and destroy all annotations.

This method uses Acrobat's built-in Action Wizard to execute a script that bypasses the standard Comments panel UI. It is highly effective for clearing massive amounts of system-generated or user-created annotations instantly.

1
Create a New Action

Open Adobe Acrobat Pro DC, navigate to the 'Tools' tab, and select 'Action Wizard'. Click on 'New Action' in the toolbar to begin setting up your batch command.

2
Add the JavaScript Execution Tool

In the 'Choose tools to add' pane on the left, expand the 'More Tools' section. Select 'Execute JavaScripts' and click the plus (+) icon to add it to the action steps on the right.

3
Input the Deletion Script

Click 'Specify Settings' on the newly added step. Paste a JavaScript loop to destroy annotations (e.g., 'this.syncAnnotScan(); var annots = this.getAnnots(); if (annots) { for (var i = annots.length - 1; i >= 0; i--) annots[i].destroy(); }'). Click OK to confirm.

4
Save and Run the Action

Uncheck the 'Prompt User' box so the script runs automatically. Save the action and name it 'Delete All Comments'. Finally, click on this new action in the Actions List to run it on your currently open PDF.

Use Action Wizard and JavaScript for Bulk Deletion
Warning: Once the script finishes executing, all comments, markups, and annotations will be permanently removed. If you make a mistake, do not save the file; close it and reopen your backup.
Effortless PDF Management

Easily Manage and Clear PDF Comments with WPS Office

If you are struggling with unresponsive software or complex scripts just to clear annotations, WPS Office provides a lightweight, highly optimized PDF reader and editor. You can easily view, manage, and delete massive amounts of PDF comments without experiencing lag or needing custom code.

  1. 1. Open PDF in WPS Office: Launch WPS Office and open your heavily annotated PDF document.
  2. 2. Access the Comment Tools: Navigate to the 'Comment' tab on the top ribbon to access all markup and annotation tools.
  3. 3. Open the Comments List: Click the 'Comment Panel' icon on the left sidebar to display all document annotations.
  4. 4. Delete Unwanted Comments: Hold down the Shift or Ctrl key to select multiple comments, right-click, and select 'Delete' to instantly clean up your document.
Lightweight architecture handles large, heavily annotated PDFs smoothlyIntuitive comment panel for quick bulk selection and deletionFully compatible with standard Adobe Acrobat PDF formats and annotationsComprehensive PDF editing tools available in one single app
microsoft office alternative - wps office

Frequently Asked Questions

Why is the Delete command disabled in the Acrobat Comments panel?

The Delete command can become disabled if the PDF has reached a software limit for processing objects simultaneously, if the document has security restrictions preventing modification, or if the file was generated by third-party software (like AutoCAD) in a way that locks the annotations.

Can I recover PDF comments after running a deletion script?

No. Running a JavaScript deletion script permanently destroys the annotation objects in the document's structure. Unless you have saved a backup copy beforehand or close the file without saving, the comments cannot be recovered.

How can I hide comments instead of permanently deleting them?

If you just want a clean view of your document, open the Comments panel, click the 'Filter Comments' icon (usually shaped like a funnel), and select 'Hide All Comments'. This keeps the data intact but removes the visual clutter from the page.