I’d like to raise a few caveats here in addition.
First - a post dedicated to this subject: Do comptime variables have "static" lifetime?
It’s very important to still remember that comptime data does not have reliable memory addresses at runtime. So yes, they are static in the sense that the value will be guarenteed, but the variable itself can essentially be expunged.
Meanwhile there are static variables that are not const nor comptime (as in the case of a var declaration in a struct) that do have static lifetimes as well. I just want to make sure that we don’t accidentally imply that static == comptime/const. That aside, everything here is up to par with your usual standard of high quality