Because having a massive block of code looked ugly to me at first and the two comments were meant to indicate the beginning of a section of similar code. But I agree with your point that these are highly related functions and it makes sense to avoid empty lines here, let's regroup them and remove the two comments.