I want to overwrite the OOB comments/comment components. I have managed to include my own version of the comments component but when comments are added to the user generated folder they get added with resource type of "collab/commons/components/comments/comment". I have looked everyweher where this is being set and after decompiling the cq-collab-commons-5.5.2 jar, I found it is a hard coded reference.
Any idea how I can get around this?
As a workaround please set an hidden parameter of sling:resourceType to your custom component  and then white list the parameter name at 
 <input type="hidden" name="sling:resourceType" value="<custom component path/components/comments/comment>"/>
 http://<host>:<port>/system/console/configMgr/com.day.cq.collab.commons.impl.servlets.CreateComme ntServlet