Yes, adding line numbers on each line is one of the ideas we've been considering trying. Thanks for the reminder!
Graphologue used a version of this too: https://hci.ucsd.edu/papers/graphologue.pdf
If you want an LLM to refer to a specific piece of text, give each one an ID and then work with those IDs.