dte is very slow for large single line JSON file

I have a 18MB JSON file that spans a single line. dte becomes very slow and laggy when editing this file. Setting set syntax false, makes the issue go away. Is there anything that could be done to improve this? If the nature of the syntax highlighting implementation makes this hard to prevent, perhaps a threshold for syntax highlighting could be introduced so that it turns off if the file is too big?