Brett B. answered 06/18/19
Patient and Innovative Writing and Psychology Tutor
This is really based on using the title of the book as added information to the context. A clearer example is when talking about people. "My wife, Morgan, is beautiful." Her name isn't necessary to the sentence structure. I could say, "My wife is beautiful," or "Morgan is beautiful." In those cases no comma necessary.
In context of book titles, in formal writing the standard is to use italics. Example: Book by Joe Bob is...." Alternatively you might say, "The book, Book, by Joe Bob is...," but in truth that is a bit repetitive. The only exception is if you have references multiple books by Joe Bob. In that case the title is necessary information and so no commas are necessary.
All of that said, I would recomend not using the structure, "The book, Book, by Joe Bob...." Instead I would offer to use the title of the book as your subject: "Book by Joe Bob...."
I hope this helps.