When you set numbers-format to none, the highlighted-lines will not be set/be ignored.
#local(
number-format: none,
zebra-fill: none,
highlighted-lines: ((2, red), 4),
```typst
#local(
number-format: none,
zebra-fill: none,
highlighted-lines: ((2, red), 4),
)
```,
)
