Match document comment only for structural elements