Lines of code is mostly pointless, I've had files with 5k lines of code and there was no reason to split up the file. Then again, I'm mostly using languages that are very structured, I would not do that with PHP or JS;
Kotlin, Java, Dart, ... 5k lines in file is not that hard to maintain inside a 450k LOC project.