Is it safe to freeze soup and chili in glass jars?

I’ve seen pics of people using binder clips to hang the frozen bags, beck, sometimes off the wire shelf in most freezers. Easy to label, and it’s almost like flipping through a file cabinet. A delicious file cabinet.

To the OP I have used jars (reusing salsa jars, mostly) to freeze soup. Nice thing is then I can microwave my lunch straight in the jar, once it’s thawed of course, which makes office meals a little simpler.