Assuming UCC ยง 3-407 applies in the the relevant jurisdiction:
The recipient of an "incomplete instrument" (i.e., a check without the numbers filled in) cannot fill in those details without permission from the issuer of that check. Such a change would constitute an "unauthorized addition of words or numbers [...] to an incomplete instrument." However, such changes are permitted if the change is authorized (both because it would no longer be unauthorized per 3-407-a and because the change would have "assent" per 3-407-b).
In other words, you can use an "NTE" memo on a check, but you'll need to ensure that the recipient of the check is aware that the NTE line constitutes authorization to fill in the value of the check (and what value is authorized). In the case of a county clerk who explicitly instructs issuers to use such a memo line, the use of the memo line likely constitutes authorization for the clerk to fill in the blank values in accordance with the clerk's documented policies.
Note that none of this necessarily binds the bank. A bank employee who notices and understands that the NTE line was violated should reject such a check, since the employee has notice of the alteration as described in 3-407-c . However, more often than not the bank will ignore the memo line; I don't believe the bank has any obligation to notice such content.