Google explains undocumented way to disavow entire TLDs
Google's disavow tool allows site owners to disavow entire top-level domains (TLDs) like .xyz or .biz, though this undocumented feature is considered excessive and risky.
Google Says Most Sites Don't Need To Disavow Links But That's Not All Sites
While most sites don't need disavow files, some sites may benefit from using them strategically, particularly when dealing with problematic links from specific top-level domains.
Google Says Order Of Disavow Link File Does Not Matter
The order in the disavow file doesn't matter. We don't process the file per-se (it's not an immediate filter of "the index"), we take it into account when we recrawl other sites naturally.