Head to the settings within Jira. Note that administrator privileges are required to access the settings.

In the menu on the left side, navigate to “Find new apps” under the “Apps” category. Search for “Comment Custom Fields”, wait until the entry “Comment Custom Fields for Jira” is shown and proceed to “Install” the add-on.