DNN-4914 Don't read unused content

When reading a JavaScript Library from a manifest, there's an exception when it includes a comment.  All nodes are read, even if they can't be read (e.g. they're a comment).