It’s an old trick for pleasant-ish multi-line strings from before node/JavaScript had `backticks`. You can stringify the function and parse the string out of the embedded comment.
const str = multiline(()=>{/*
<!doctype html>
<html>
<body>
<h1> unicorns</h1>
</body>
</html>
*/});
https://www.npmjs.com/package/multiline