Minify fails with block comments inside a javascript markdown code block

I have a markdown file like this:

  ### Concurrency Promise.all
  
  ```js
  const executorFunction = (param) => {
      return new Promise((resolve, reject) => { 
          /* 
            Do something async here and return success status
          */
          const success = true;
          if (success) {
              resolve(param);
          } else {
              reject(param);
          }
      })
  };
  `` ` 

If I try to build it I get an error at minification:

Error: Error building site: MINIFY: failed to transform “index.js” (text/javascript): unexpected \ on line 158 and column 13342
158: …status\r\n */\r\n const suc…

If I change the comment to a line comment all is fine.

// Do something async here and return success status

Anyway to use block comments in codeblocks?

Unable to reproduce. Hugo version?

And it is strange that the error (related to index.js) is removed by modifying markdown.