Adding multiple frame comments using editcap doesn't seem to be currently supported.
Please raise an issue at the Wireshark GitLab issues list, options to consider are:
- The syntax to indicate a frame comment should be added
- The syntax to indicate all comments for a frame should be replaced
- The syntax to indicate a specific frame comment should be replaced
- Additional syntax to delete a specific or all comments for a frame