discard comments in kernels.cpp