Don't do it. Priming is not the time to introduce flavour.
I beg to differ, it's actually a GREAT time. Especially with something that contains some maillard reaction/carmelization like mollases or brown sugar, maple syrup, or even dark honey, something that will leave a level of unfermentables behind which will impart a nice subtle flavor. There are at least 2 bottle conditioned commercial pumpkin ales that are primed with brown sugar. Which impart a noticeable brown sugar flavor to the lips and tongue when drinking it.
It's also a good time to introduce other things like lactose (for some extra sweetness) or even some spices, if they haven't come through in by bottling time. I have steeped some extra dried peppers in the priming solution for more spiciness in my chocolate mole porter, even added some citrus peel while boiling it for more orange in a wit.
It is a great last minute point to fix stuff...since you are boiling, you are sterilzing whatever you are adding so there's little risk of infection. And since it is your priming solution it is going ti distribute to all the beer.
Now if you are looking for the correct amount to prime with, look here, I have some info in my bottling thread.
https://www.homebrewtalk.com/f35/bottling-tips-homebrewer-94812/index3.html#post1114892
Heck, if someone wanted to do a chocolate peppermint stout, melting hard peppermint candies in a double boiler with 2 cups of water and priming with it, may be a great way to impart flavor. Heck any hard candies, like butterscotch, or cinnamin or rootbeer even could potentially be the priming solution. The difficulty would be in figuring out the sugar content. But I bet since hard candies are pure sucrose with flavoring and color...just weighing it would be close enough.
Hmm I might be on to something.