A code that contains line comment directly after block comment is iterpreted as invalid and does not compile, for example:
/*a*/--b <- ORA-00900: invalid SQL statement
/*a*/ --b <- OK
This error happens when this kind of comment is not between begin end block but for example in file start/header comments.
Not sure when this has changed but Beta and 26.1 behave the same.