On Windows, I've mostly avoided CRLF by configuring text editors and git to use LF, and writing text files in binary mode.
The only places that still forced CRLF were batch files and clipboard.
A lot of tooling that generates or transform text-like files (e.g. XML) outputs native line endings, which in case of Windows is CRLF. Depending on what you do, it’s almost impossible to avoid that.
> I've mostly avoided CRLF by configuring text editors and git to use LF,
That has been my experience as well. I can't remember the last time I had an issue related to CRLF.