Split code and comments

Run Settings
LanguageRaku
Language Version
Run Command
my $code = q:to/END/; print 42; # meaning of life say "more code"; # more comment END my ($code-only, $comments) = [Z~] $code.lines>>.split: "#"; say $code-only; say $comments;
Editor Settings
Theme
Key bindings
Full width
Lines