Diagnostics and 'db script' comments