Disabling comment editing

Hi @Rahul-R,

please apply the custom/client script.

frappe.ui.form.on('Your DocType',  {
    refresh: function(frm) {
        $('.btn.btn-link.action-btn').hide();
    }
});

Then reload (Ctrl + Shift + R) and check it.

Thank You!