Fixed crash with comments in the DFXP (#841)