Tips and tricks
Coding tips - How to find all comments in the code
Your IDE like VSCode or Phpstorm IDEA Jetbrains should support seach by regex, you can use something like
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/|[ \t](?!:)*//(?! -).*)
and replace with empty string