The node you are looking for is at Texinfo::Convert::Converter $end_line = $converter->format_comment_or_return_end_line($element).