How to Deletes a specified order status comment in Magento 2?

Delete Specific order status history comment in Magento 2 used to remove unnecessary comments for the order.

Remove Order Comment, First Loads a specified order status comment object by comment id, pass responses object to the delete method of the Sales module OrderStatusHistoryRepositoryInterface API.

Check the given snippet code to remove a status comment for the order,

Call method with a required parameter, to delete order status comment

Output: boolean