Reproduction link or steps
REPL
What is expected?
The output to be:
//#region entry.js
//! Copyright notice 1
console.log("in a"); //! Copyright notice 2
//! Copyright notice 3
//#endregion
What is actually happening?
The output is:
//#region entry.js
//! Copyright notice 1
console.log("in a");
//! Copyright notice 3
//#endregion
System Info
Any additional comments?
Found in esbuild tests.