Ask your institution
The use of AI is an ongoing topic of discussion in many academic institutions. Whether or not, you should include a statement on your own, has been addressed by others; but I think you could also ask for guidance at your institution.
While asking your advisor is the natural thing to do for many students, I think this might warrant asking higher up.
I have noticed, that some institutions are now including statements about the use of gen AI in their sworn declarations of their theses. Note, I am from central Europe, so what I am writing about might not apply, or even be unheard of where you are.
In one instance, the institution requires its students to highlight all uses of gen AI, such as you would highlight quotations from other works, as well as providing all the prompts which led to the included work of gen AI.
So, if there is already some institutional way of dealing with AI, you might get an answer. If there is not, you maybe can serve to kick-off the discussion at your institution on how to deal with AI, especially gen AI, in the context of writing theses.
After all, as with any aids, there are legitimate uses of AI in academic writing and there are illegitimate uses.
What is a sworn declaration?
The author of the thesis, i.e., the student, officially declares that he or she is the sole author of the manuscript, and has followed all existing guidelines for proper scientific conduct and has used no forbidden aids.
The exact language varies from institution to institution, but some form of such a declaration is quite common where I am from.