I did not get the foil in the lines when learning...
But later, when able to ride, I did two or three times, no injury though
On the first one the kite quickly ended in the water, my luck as I almost panicked fearing the foil "axe" coming toward me while kite looping.
The next times I simply continued to fly the kite, and slowly put it down in the water and then releasing the hydrofoil from the lines (and hoped none of the lines was cut - you have to check when ashore eventually).
The last years it has never happened though, amazing so good one becomes at "not" getting in these situations, with experience
I had a long rip (slice) in my shorty wetsuit once during the learning years (it died because of this, was old anyways), from a sharper racewing, lucky it was only the suit
I usually dont wear full wetsuit, mostly shorty or short armed, and never boots except when winter, as all this removes a huge part of the experience, feel, and freedom for me...
Hear a lot about many who has bruised their shins - have never experienced this, is it on the board edge or on the foil or ?
I have had a small Donald Duck bump in the head once, recently, from my carbon board, not hitting me with speed, but quite slow simply its pure stiffness when dolphining in small waves towards me and I was unaware focusing on my kite - my mistake...
Foil in the lines happens for two reasons is my take:
1. You are an absolute beginner, and you lose all focus on the kite so you fly it down inadvertently while the board shoots up when you fall backwards, and the board gets stuck in the lines... This will wear off as soon as you learn to ride a bit, but really dangerous when a beginner as you ride more powered and with no control whatsoever.
2. You can ride, and practice or enjoy riding fast downwind with kite low - THIS is where I have had it happen twice, while practicing carves downwind at speed, and having or getting the kite low when you wipe out.
#2 also dissapear with practice, as you dont transition with slack lines nomore thus not the kite as low, and you will hardly never shoot the board up anymore either.
But you CAN avoid it, by riding with the kite higher when going deep downwind - I prefer this not because of the "foil in the lines" risk (only), but because I dont wanna risk to get the kite in the water, as relaunch is most often not possible when hydrofoiling.