In my experience it's closer to the other way around.
For example, one of my recent games has 20k lines of engine code and 40k lines of game code.