If necessary, this can be written as an indirect quotation such as "Jesus asked them if they had understood all this, and they said they had." (See: [[rc://en/ta/man/translate/figs-quotations]])
A treasure is a very valuable and precious thing or a collection of things. Here it may refer to the place where these things are stored, the "treasury" or "storeroom."