Comments will be parsed into individual nodes in the parsing tree, but adjacent spaces of newline lines will result in only one node in the parsing tree.
Thus, the technical answer is a gap that will be analyzed faster, but it is marginal and completely negligible for any PHP script. Use the op cache, which will cause comments and spaces if compile time really matters to you.
source share