Addendum
I have an unelegant solution: Putting the above macro in a systemConfig-tagged tiddler (i.e. CommentsPluginTweak) in each bagX and replacing the server.workspace:bags/comments by server.workspace:bags/bagX. It would be more elegant, if the bagX could be handled as a parameter in the original commentsplugin. But that's beyond my competencies.