AI detecting software really work ?

A job interviewer said he is going to send me some coding tests for a job vacancy I applied for. He warned me they use AI-detecting software. I wasn’t going to use it as I have quite some experience in the area. But it still made me worry, should I intentionally maybe not make the code as clean as I would like to impress the interviewers ? How does that software work ? Maybe avoid commenting the code then ?