The fact that `/` and `*` must both be escaped in this context makes these regular expressions a little hard to read. There are a few ways to avoid having to escape characters:

```coffeescript
if not @in_block and /[/][*]/.test(line) and not /[*][/]/.test(line)

if not @in_block and /// /* ///.test(line) and not /// */ ///.test(line)

if not @in_block and line.indexOf('/*') >= 0 and line.indexOf('*/') < 0
```