const strip = require('strip-comments');
const reactComponentWithComments = `
const component = () => (
// This breaks the UI
{/* OK, no children passed in, so it’s not a custom component and we can */}
<Helmet>
<title>{title}</title>
</Helmet>
)
`
strip(reactComponentWithComments)