The code coverage only shows if the JavaScript execution has reached those lines, not if there are any tests specifically assigned to it.
Most likely Angular reads route configuration normally during the execution of tests, so everything in the file is marked as covered.
This is also a good reminder that 100% code coverage doesn't automatically mean 100% feature coverage.