Question: Use case is:

I type a long command and then I realize I need to run something else first.

I usually run it then CTRL C immediately.

I guess I could also do `echo "command" >> $HISTFILE`, but that won't work with quotes.

Answer: 
You can edit the `~/.bash_history` file.
This might work for you:

```
Alt-# or insert-comment will change the command into a comment and store it in command history. 

```

If the command is retrieved from the history using Ctr-p then:

```
Alt--1 Alt-# will remove the comment and execute the command.

```