2366 lines to be exact.
What you've just learned is a nasty lesson in entrophy, or the loss of useful background details. Reg tweaks are normally provided as grouped sets of keys, and when you collapse them together in a single file, it's much harder to separate them.
Tweaks can exist in different forms:
- As a standalone reg key or value.
- As multiple keys or values. Some of the related keys or values may be in completely different paths, but work as a group.
- A reg key may have several child values, which are unrelated to other. But you combined multiple tweaks so they're mingled with each other.
You can't automate the process of splitting this file, because only someone who's familiar with the tweak (or has seen many tweaks over the years) knows where to break the file into parts. And even if you could split the keys, how would know to you label them -- other than part1.reg, part2.reg...
Instead you go back to the beginning, and just collect multiple (named) reg files in folders and have scripts that apply them in order.