_consume_comment_lines

PlasmaCalcs.mhd.multifluid.mhd_genrad_tables._consume_comment_lines(enumlines, *, start=None, comment=None)

eat (i, line) from enumlines until reaching a nonempty line that doesn’t start with ‘*’.

return (next(enumlines), comment.strip()) where next(enumlines) is the next line.
start: None or (i, line)
if provided, start here. Otherwise, start at next(enumlines)
comment: None or str
if provided, append result to this comment + ‘n’.