compiling a query using a function body comment